package com.haoma.service;

import com.haoma.dto.TalkDto;
import com.haoma.vo.AllTalkVo;
import com.haoma.vo.TalkPageVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * Description:
 */
public interface TalkService {
    List<AllTalkVo> getTalkList(Integer status);

    void concealTalk(Integer id, Integer status);

    void delComment(Integer id, Integer talkId);

    void sendTalk(TalkDto talkDto);

    String fileUpload(MultipartFile multipartFile);

    void updateTalk(Integer id, TalkDto talkDto);

    void delTalk(Integer id);

    TalkPageVo getUserList(Long page, Long limit, String name);

    void delUser(Integer id);
}
